<?php
if ($ticket_parent!=1) {
	header('Location: class_manager.php');
	exit;
}

$admin_groups=array(1,3);

function is_admin(){
	global $admin_groups;
	return in_array($_SESSION["user"]["member_group_id"],$admin_groups);
}

function is_logged_in(){
	if($_SESSION["user"]["member_id"]>0)
		return true;
	else
		return false;
}

?>